// 获取数据来源
const getters = {
  token: state => state.user.token,
  userInfo: state => state.auth.userInfo,
  goodsList: state => state.goods.goodsList,
  lang: state => state.language.lang,
  submit: state => state.table.submit,
  userRoutes: state => state.permission.userRoutes // 可以方便侧边栏获取 面包屑导航
}

export { getters }
